package cn.itlight.product.mapper;

import cn.itlight.product.domain.Product;
import cn.itlight.basic.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tomliu
 * @since 2022-07-21
 */
public interface ProductMapper extends BaseMapper<Product> {

    void offsale(List<Long> ids);

    void onsale(Long id);
}
